<?php get_header();?>
<body>
<div id="warpper">
	<!--header-->
	<div id="header">
	<?php require_once TEMPLATEPATH.'/controllers/index-logo.php';?>
    <?php get_search_form();?>
    <div class="clear"></div>
    </div>
    <!--end header-->
    <!--menu-->
    <?php require_once TEMPLATEPATH.'/controllers/index-menus.php';?>
    <!--end menu-->
    <!--slideshow-->
    <?php require_once TEMPLATEPATH.'/controllers/index-slideshow.php';?>
    <!--end slideshow-->
    <!--main content-->
    <div id="maincontent">
    	<!--sidebar-left-->
    	<?php get_sidebar();?>
        <!--end sidebar-left-->
        <!--content right-->        
        <a href="" name="go_booking"></a>
       <?php 
       
       wp_reset_query();
       if(isset($_POST['mybooking']) && $_POST['mybooking']=="hotels")
       {
	       if(wp_verify_nonce($_POST['act_activation_booking_go2'],'act_activation_booking_go2'))
	       {
	       		require_once TEMPLATEPATH.'/views/detailhotel/book-hotel-step2.php';
	       }
	       else if(wp_verify_nonce($_POST['act_activation_booking_go3'],'act_activation_booking_go3'))
	       {
	       		require_once TEMPLATEPATH.'/views/detailhotel/book-hotel-step3.php';
	       }
	       else if(wp_verify_nonce($_POST['act_activation_booking_go4'],'act_activation_booking_go4'))
	       {
	       		require_once TEMPLATEPATH.'/views/thanks-view.php';
	       }        
	       else 
	       {
	       		require_once TEMPLATEPATH.'/views/detailhotel/book-hotel-step1.php';
	       }
       }
       else if(isset($_POST['mybooking']) && $_POST['mybooking']=="tours")
       {
       		if(wp_verify_nonce($_POST['act_activation_booking_go2'],'act_activation_booking_go2'))
	       {
	       		require_once TEMPLATEPATH.'/views/detailtour/book-tour-step2.php';
	       }
	       else if(wp_verify_nonce($_POST['act_activation_booking_go3'],'act_activation_booking_go3'))
	       {
	       		require_once TEMPLATEPATH.'/views/detailtour/book-tour-step3.php';
	       }
	       else if(wp_verify_nonce($_POST['act_activation_booking_go4'],'act_activation_booking_go4'))
	       {
	       		require_once TEMPLATEPATH.'/views/thanks-view.php';
	       }        
	       else 
	       {
	       		require_once TEMPLATEPATH.'/views/detailtour/book-tour-step1.php';
	       }
       }
       ?>
        
        <!--content right-->
        <div class="clear"></div> 
		<div class="div10"></div>
		 <!--footer-->
    <?php require_once TEMPLATEPATH.'/controllers/index-footer-outservice.php';?>
    <!--footer-->      
    </div>
    <!--main content-->
   <?php get_footer();?>
   <script type="text/javascript">

		function goToAnchor(neo) 
		{
			var neo;
			location.href = neo;
		}
		
		goToAnchor('#go_booking');
		
		</script>